//
//  NeedishLogin.h
//  iNeedish
//
//  Created by Tobias Rundström on 2009-11-06.
//  Copyright 2009 Purple Scout. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Three20/Three20.h"


@protocol NeedishLoginDelegateProtocol

-(void)loginDidFailWithError:(NSError*)err;
-(void)loginDidSucceed;

@end

@interface NeedishLogin : NSObject {
	id _delegate;
	NSMutableData *_responseData;

}

+(id)loginWithUsername:(NSString *)username andPassword:(NSString *)password;

@property (nonatomic,retain) id<NeedishLoginDelegateProtocol> delegate;

@end
